package javabasics.netty.login.protocol.response;

import javabasics.netty.login.protocol.Packet;
import lombok.Data;

import static javabasics.netty.login.protocol.command.Command.LOGOUT_RESPONSE;

/**
 * @Author suxiaoxiao
 * @Date 2019/9/19 23:04
 * @Version 1.0
 */
@Data
public class LogoutResponsePacket extends Packet {

    private boolean success;

    private String reason;

    @Override
    public Byte getCommand() {
        return LOGOUT_RESPONSE;
    }

}
